﻿<%@ Page Language="vb" ContentType="application/rss+xml" AutoEventWireup="true" CodeBehind="Rss.aspx.vb" Inherits="BeachesInGreeceComplete.Rss" %>

<asp:repeater ID="RepeaterRSS" runat="server">
     <HeaderTemplate>  
           <rss version="2.0">  
                <channel>  
                    <title>Beaches In Greece</title>  
                    <link>Default.aspx</link>
                    <description>  
                         Discover the best beaches in greece!
                         Read reviews and participate in discussion boards!
                    </description> 
        </HeaderTemplate>  
        <ItemTemplate>  
                <item>  
                    <title><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "BeachName"))%></title>
                    <link>BeachDetails.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "ID") %></link>
                    <description><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Description"))%>
                    <![CDATA[<br/>]]><![CDATA[<br/>]]>Location : <%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Location"))%>
                    <![CDATA[<br/>]]>Region : <%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Region"))%>
                    <![CDATA[<br/>]]><![CDATA[<br/>]]>Review :  <%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Review"))%>
                    <![CDATA[<br/>]]>Beach Rating : <%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "AverageRating"))%></description>      
                </item>  
        </ItemTemplate>  
        <FooterTemplate>  
                </channel>  
            </rss>    
        </FooterTemplate>  
</asp:repeater>
